package com.dpwgc.demo.model;

/**
 * 服务器基本信息模板
 */
public class IndexData {

    private String rootPath;//存储根路径
    private String maxFileSize;//最大上传容量限制
    private String maxRequestSize;//最大下载容量限制
    private String sftpHostname;//SFTP服务器地址
    private String sftpPort;//SFTP服务器端口

    public void setSftpHostname(String sftpHostname) {
        this.sftpHostname = sftpHostname;
    }

    public void setSftpPort(String sftpPort) {
        this.sftpPort = sftpPort;
    }

    public String getSftpHostname() {
        return sftpHostname;
    }

    public String getSftpPort() {
        return sftpPort;
    }

    public void setMaxFileSize(String maxFileSize) {
        this.maxFileSize = maxFileSize;
    }

    public void setMaxRequestSize(String maxRequestSize) {
        this.maxRequestSize = maxRequestSize;
    }

    public void setRootPath(String rootPath) {
        this.rootPath = rootPath;
    }

    public String getMaxFileSize() {
        return maxFileSize;
    }

    public String getMaxRequestSize() {
        return maxRequestSize;
    }

    public String getRootPath() {
        return rootPath;
    }

    @Override
    public String toString() {
        return "IndexData{" +
                "rootPath='" + rootPath + '\'' +
                ", maxFileSize='" + maxFileSize + '\'' +
                ", maxRequestSize='" + maxRequestSize + '\'' +
                ", sftpHostname='" + sftpHostname + '\'' +
                ", sftpPort='" + sftpPort + '\'' +
                '}';
    }
}
